{extend name="base" /}

{block name="title"}果子出售{/block}

{block name="main"}
<div class="countgo pull-left">
	<div class="zt">
		<div class="remain">
			<div class="gao1"></div>
			<div class="page-header long-header">
				<h3>庄园管理 <small> 果子出售</small></h3>
			</div>

			<div>
				<ol class="breadcrumb">
					<li><span class="glyphicon glyphicon-home"></span><a href="/">主页</a></li>
					<li><a href="#">交易系统</a></li>
					<li class="active">果子出售</li>
				</ol>
			</div>

			<div class="panel panel-default">
				<div class="panel-heading">果子出售</div>
				<div class="panel-body">
					<form action="/fruit/sell/handleSell" method="post" class="form-horizontal">
						{:token()}
						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
								<span style="color:#000">
						    		您好!  (<strong>{$Think.session.user_name}</strong>). 您可出售的收益果子为:<span id="shuijing" style="color:red"> {$fruitSecondProfit}</span>个。
								</span>
							</div>
						</div>

						<div class="form-group">
							<label class="col-sm-2 control-label" for="x1">果子<span class="ast">*</span></label>
							<label class="col-sm-10"><input name="fruit" type="radio" value="second" checked> 收益果子</label>
						</div>

						<div class="form-group">
							<label for="x1" class="col-sm-2 control-label">出售数量<span class="ast">*</span></label>
							<div class="col-sm-10"><input type="number" name="price" class="form-control form-long-w1" placeholder="请输入您要出售的数量" maxlength="11" required></div>
						</div>

						<div class="form-group">
							<label class="col-md-2 control-label">安全密码:<span class="ast">*</span></label>
							<div class="col-md-10"><input type="password" name="pay_password" class="form-control form-long-w1" required placeholder="请输入您的安全密码"></div>
						</div>
						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
								<button type="submit" class="btn btn-warning">确认出售</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
{/block}